<?php
class PC4_Crud_Upload_Tabela1 extends PC4_Crud_Upload2{
	
	protected $modeloTb1;

	function __construct($caminho, $tabela, $tabelaN, $uploads = array(), $total = '', $fk = '', $campoId = 'id', $ondeTabelaN = array(), $validacoes = array()) {
		parent::__construct($caminho, $tabela, $uploads, $validacoes);
		$this->modeloTb1 = new PC4_Crud_Tabela1($tabela, $tabelaN, $total, $fk, $campoId, $ondeTabelaN = array(), $validacoes);
	}
	
	function lista($pagina = 1, $limite = -1, $debug = false) {
		return $this->modeloTb1->lista($pagina, $limite, $debug);
	}

}
	